<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  <meta
    name="viewport"
    content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"
  />
  <title>易联众</title>
  <link rel="icon" href="/favicon.ico" type="image/x-icon" />
  <script src="/js/three/three.min.js"></script>
  <script src="/js/three/libs/tween.min.js"></script>
  <script src="/js/three/controls/TrackballControls.js"></script>
  <script src="/js/three/renderers/CSS3DRenderer.js"></script>
  <!--<script src="https://gw.alipayobjects.com/os/antv/pkg/_antv.g6-2.2.0/build/g6.js"></script>-->
  <script src="/js/g6/g6.js"></script>
 <!-- <script src="https://gw.alipayobjects.com/os/antv/pkg/_antv.g6-2.2.0/build/plugins.js"></script>-->
  <script src="/js/g6/plugins.js"></script>
  <!--<script src="https://gw.alipayobjects.com/os/antv/assets/lib/d3-4.13.0.min.js"></script>-->
  <script src="/js/g6/d3-4.13.0.min.js"></script>
  <script>
    resize();
    window.addEventListener('resize', resize);
    function resize() {
      var _baseFontSize = 100;
      var _fontscale = 1;
      var win = window;
      var doc = win.document;
      var ua = navigator.userAgent;
      var matches = ua.match(/Android[\S\s]+AppleWebkit\/(\d{3})/i);
      var UCversion = ua.match(/U3\/((\d+|\.){5,})/i);
      var isUCHd = UCversion && parseInt(UCversion[1].split('.').join(''), 10) >= 80;
      // var isIos = navigator.appVersion.match( /(iphone|ipad|ipod)/gi );
      var isIos = navigator.appVersion.match(/(iphone)/gi);
      var dpr = win.devicePixelRatio || 1;
      if (!isIos && !(matches && matches[1] > 534) && !isUCHd) {
        // 如果非iOS, 非Android4.3以上, 非UC内核, 根据屏幕分辨率调整缩放;
        var screenWidth = document.body ? document.body.clientWidth : window.screen.width;
        dpr = screenWidth / 1920
      }
      var scale = 1 / dpr;
      if (navigator.appVersion.match(/(ipad|ipod)/gi)) {
        dpr = dpr * win.devicePixelRatio;
        scale = 1 / dpr / win.devicePixelRatio;
      }

      var metaEl = doc.querySelector('meta[name="viewport"]');
      if (!metaEl) {
        metaEl = doc.createElement('meta');
        metaEl.setAttribute('name', 'viewport');
        doc.head.appendChild(metaEl);
      }
      metaEl.setAttribute('content', 'width=device-width,user-scalable=no,initial-scale=' + scale + ',maximum-scale=' + scale + ',minimum-scale=' + scale);
      doc.documentElement.style.fontSize = _baseFontSize / 2 * dpr * _fontscale + 'px';
      window.viewportScale = dpr;
    }
  </script>
</head>
<body>
<noscript>Sorry, we need js to run correctly!</noscript>
<div id="root"></div>
</body>
</html>
